header .navbar {
    margin-bottom: 0;
}
.body-header {
    font-size: 20px;
    background: #efefef;
    border-bottom: 3px solid #eaeaea;
    box-shadow: 0 -3px 6px #ddd;
}

.article-box {
    padding-top: 0;
}

.article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6 {
    border-left: 3px solid #2196f3;
    padding-left: .5em;
    /* border-bottom: 2px dashed #f5f5f5; */
    box-shadow: 0 2px 0 #f5f5f5;
}

.article-content p {
    text-indent: 2em;
}

.article-content blockquote p,
.article-content li p {
    text-indent: 0;
}

.sidebar-closed .page-right {
    width: 100%;
    left: 0;
}
.sidebar-closed .page-left {
    display: none;
}

.page-left .doc-catalog-title {
    border-bottom: 1px solid #ccc;
}

.page-left ul,.page-left li {
    padding-left: 8px;
    list-style: none;
}

.doc-catalog {
    z-index: 10;
    overflow: auto;
    left: 5px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
}

.doc-catalog .panel-body {
    padding: 5px 0 8px;
}

.doc-catalog .nav>li>a:hover, .doc-catalog .nav>li>a:focus {
    background-color: transparent;
    border-left: 1px solid #2196F3;
}

.doc-catalog h2, .doc-catalog h3, .doc-catalog h4 {
    margin: 5px;
}

.doc-catalog .nav .nav {
    /*display: none;*/
    padding-bottom: 10px;
}

.doc-catalog .nav>li>a, .doc-catalog li>a {
    display: block;
    padding: 4px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
}

.doc-catalog .active>a{
    border-left: 3px solid #2196F3;
    font-weight: 700;
    color: #2196F3;
}

.doc-catalog .nav>.active>a, .doc-catalog .nav>.active:hover>a, .doc-catalog .nav>.active:focus>a {
    padding-left: 18px;
    color: #2196F3;
    background-color: transparent;
    font-weight: 700;
}

.doc-catalog-sidenav {
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .doc-catalog.affix {
        position: fixed;
        top: 20px;
        left: initial;
    }
    .doc-catalog.affix, .doc-catalog.affix-bottom {
        width: 213px;
    }

    .doc-catalog.affix-bottom .doc-catalog-sidenav, .doc-catalog.affix .doc-catalog-sidenav {
        margin-top: 0;
        margin-bottom: 0;
    }

    .doc-catalog .nav>.active>ul {
        display: block;
    }
}

@media (min-width: 1200px) {
    .doc-catalog.affix-bottom,.doc-catalog.affix {
        width:263px
    }
}


#page-control {
    position: fixed;
    left: 0.2em;
    bottom: 6%;
    opacity: .85;
    width: 40px;
}

#page-control a{
    margin-top: 2px;
}
#page-control .content-control-tool{
    display: none;
    width: 140px;
    position: absolute;
    top: -15px;
    left: 36px;
    background: #f4f4f4;
    padding: 8px;
    box-shadow: 1px -1px 5px #aaa;
    border-radius: 5px 5px 5px 0;
    border: 1px solid #aaa;
}

pre {
    padding: 3px;
    background-color:unset;
}
.content-toc-box {
    position: fixed;
    top: 85px;
    right: 35px;
    box-shadow: 1px 1px 5px #bbb;
    background: #fff;
    padding: 5px 10px;
    border-radius: 2px;
}
.content-toc-box small{
    cursor: pointer;
}

.content-toc-box small:hover {
    color: #2196f4;
}

#content-toc {
    min-width: 100px;
}

#content-toc-list {
    max-width: 250px;
    overflow: auto;
    max-height: 750px;
}

#content-toc-list .toc-h2 {
    font-weight: bold;
}

#content-toc-list a {
    font-size: smaller;
    white-space: nowrap;
    text-overflow: ellipsis;
}
